#include <iostream>
using std::cout;
using std::endl;

void test0(){
    int *p = new int[3]{1,2,3};
    cout << p << endl;
    cout << *p << endl;
    for(int i = 0;i < 3;i++){
        cout << p[i] << " ";
    }
    cout << endl;
}

int main(int argc, char * argv[])
{
    test0();
    return 0;
}


